package com.bone.order.po;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.bone.product.po.ProductProd;
import com.bone.util.PriceUtil;

public class OrdOrderProd implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -889154280625141006L;

	
	private Long prodId;
	private Long orderId;
	private String orderNo;
	private Long productId;
	private String productName;
	private String productType;
	private Long marketPrice;
	private Long price;
	private Long quantity;
	private String shortName;//短名称
	private Long sumSettlementPrice; // 总结算价.
	
	private List<OrdOrderProdTime> allOrdOrderProdTime = new ArrayList<OrdOrderProdTime>();
	private ProductProd productProd;
	private List<OrdOrderMeta> ordOrderMetas = new ArrayList<OrdOrderMeta>();
	
	
	//set  get 
	
	public float getPriceYuan() {
		return PriceUtil.convertToYuan(price);
	}
	
	public Long getProdId() {
		return prodId;
	}
	public void setProdId(Long prodId) {
		this.prodId = prodId;
	}
	public Long getOrderId() {
		return orderId;
	}
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	public String getOrderNo() {
		return orderNo;
	}
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}
	public Long getProductId() {
		return productId;
	}
	public void setProductId(Long productId) {
		this.productId = productId;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getProductType() {
		return productType;
	}
	public void setProductType(String productType) {
		this.productType = productType;
	}
	public Long getMarketPrice() {
		return marketPrice;
	}
	public void setMarketPrice(Long marketPrice) {
		this.marketPrice = marketPrice;
	}
	public Long getPrice() {
		return price;
	}
	public void setPrice(Long price) {
		this.price = price;
	}
	public Long getQuantity() {
		return quantity;
	}
	public void setQuantity(Long quantity) {
		this.quantity = quantity;
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public Long getSumSettlementPrice() {
		return sumSettlementPrice;
	}

	public void setSumSettlementPrice(Long sumSettlementPrice) {
		this.sumSettlementPrice = sumSettlementPrice;
	}
	
}
